package com.prs.crm.dao.oa;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.OaTask;


public interface OaTaskDao extends BaseDao<OaTask>{
	Collection<Object[]> getTaskReportDataSouce(String state, Date datestart, Date dateend, Collection<Person> persons);
	Collection<OaTask> getChildTask(OaTask oaTask);
	Collection<OaTask> getChildTask(OaTask oaTask,Person person);
	Collection<OaTask> getValidCritiqueOaTask(Person person);
	Collection<OaTask> getOverdueOaTask(Person person);
	public List<OaTask> getAllTask();
}
